#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

int main()
{
	int a;
	int b;
	int c;
	for (a = 101; a < 201; a++)
	{
		for (b = 2; b < a; b++)
		{
			c = a%b;
			if (c == 0)
			{
				break;
			}
			else
			{
				printf("%d\n", a);
				break;
			}
				

		}
		
	}

	return 0;
}